package com.qigao.mall.jdbc.mapper;

import com.qigao.mall.commons.dto.SettleQueryDto;
import com.qigao.mall.jdbc.model.TbSettleTotal;

import java.util.Date;
import java.util.List;

public interface TbSettleTotalMapper extends AbstractTbSettleTotalMapper{

    void addSettleTotal(TbSettleTotal tbSettleTotal);

    TbSettleTotal selectBySettleDate(Date settleDate);

    List<TbSettleTotal> selectByCond(SettleQueryDto settleQueryDto);

    TbSettleTotal selectBySettleNo(String settleNo);

    void insertBatch(List<TbSettleTotal> tbSettleTotals);

    int countBySettleDate(Date settleDate);
}